Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add embedDirListing #26

Merged
merged 2 commits into from Jul 29, 2018
Merged

Add embedDirListing #26

merged 2 commits into from Jul 29, 2018

Conversation

srid
Copy link
Contributor

@srid srid commented Jul 21, 2018

Use case: need the file listing to be embedded, but without their contents (which can be huge).

Use case: need the file listing to be embedded, but without their
contents (which can be huge).
-- | Embed a directory listing recursively in your source code.
--
-- > myFiles :: [FilePath]
-- > myFiles = $(embedDirListing "dirName")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Can you add a minor version bump in the cabal file, update the ChangeLog, and add a @since comment here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snoyberg Done.

@snoyberg snoyberg merged commit 257de69 into snoyberg:master Jul 29, 2018
@snoyberg
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants